package top.xiequanquan.groupcode.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import top.xiequanquan.groupcode.controller.base.BaseController;
import top.xiequanquan.groupcode.system.annotation.Authority;
import top.xiequanquan.groupcode.system.constant.ConsoleMenu;

/**
 * @author XQQ
 * @create 2019-05-27 14:21
 * @desc 用户控制器
 **/
@RestController
@RequestMapping("/user")
@Authority(code = "user",desc = "用户",menu = ConsoleMenu.BUSINESS_USER)
public class UserController extends BaseController {

    @RequestMapping("list")
    @Authority(code = "red",desc = "查询")
    public String list(){
        return "用户LIST";
    }

}
